package com.gimi.cloud.bbp.dao.dao.mall;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.gimi.cloud.bbp.dao.dao.sys.BaseDao;
import com.gimi.cloud.bbp.dao.myMapper.MyMapper;
import com.gimi.cloud.bbp.dto.mall.MallAppRecommentDTO;
import com.gimi.cloud.bbp.entity.mall.MallAppRecommentEntity;

/**
 * 推荐信息Dao
 * @author chendi
 * @date 2018年2月1日
 */
public interface MallAppRecommentDao extends MyMapper<MallAppRecommentEntity>,BaseDao<MallAppRecommentEntity,MallAppRecommentDTO> {

	@Select("SELECT * FROM `mall_app_recomment` WHERE abt_status = 1 AND is_delete = 0 AND arg_id = #{argId} ORDER BY abt_sort ASC")
	List<MallAppRecommentDTO> getRecommentByArgId(Integer argId);
}
